<#macro user index>
<div id="one" class="col-md-2 col-xs-2">
    <ul data-spy="affix" class="nav nav-pills nav-stacked">
        <li class="${(index==1)?string('active',' ')}">
            <a href="${basePath}/sys/user/userInfo">
                <i class="glyphicon glyphicon-chevron-right"></i>个人资料
            </a>
    <#--<@shiro.hasAnyRoles name='admin'>-->
            <#--<ul class="dropdown-menu" aria-labelledby="dLabel" style="margin-left: 160px; margin-top: -40px;">-->
                <#--<li><a href="${basePath}/sys/user/userInfo?type=userModify">资料修改</a></li>-->
                <#--&lt;#&ndash;<li><a href="${basePath}/user/updatePswd.shtml">密码修改</a></li>&ndash;&gt;-->
            <#--</ul>-->
    <#--</@shiro.hasAnyRoles>-->
        </li>
        <li class="${(index==2)?string('active',' ')} dropdown">
            <a href="${basePath}/sys/user/userInfo?type=userModify">
                <i class="glyphicon glyphicon-chevron-right"></i>资料修改
            </a>
        </li>
    <#--<@shiro.hasAnyRoles name='admin'>-->
        <li class="${(index==3)?string('active',' ')} dropdown">
            <a href="${basePath}/role/mypermission.shtml">
                <i class="glyphicon glyphicon-chevron-right"></i>我的权限
            </a>
        </li>
    <#--</@shiro.hasAnyRoles>-->
    </ul>

</div>
</#macro>



<#macro member index>
    <#--<@shiro.hasAnyRoles name='888888,100002'>-->
		<div  id="one" class="col-md-2 col-xs-2">
            <ul data-spy="affix" class="nav nav-list nav-tabs nav-stacked bs-docs-sidenav dropdown affix" style="top: 100px; z-index: 100;">
                <li class="${(index==1)?string('active',' ')}">
                    <a href="${basePath}/member/list.shtml">
                        <i class="glyphicon glyphicon-chevron-right"></i>用户列表
                    </a>
                </li>
                <li class="${(index==2)?string('active',' ')} dropdown">
                    <a href="${basePath}/member/online.shtml">
                        <i class="glyphicon glyphicon-chevron-right"></i>在线用户
                    </a>
                </li>
            </ul>
        </div>
    <#--</@shiro.hasAnyRoles>-->
</#macro>
<#macro role index>
<#--<@shiro.hasAnyRoles name='admin'>-->
<div id="one" class="col-md-2 col-xs-2">
    <ul data-spy="affix" class="nav nav-pills nav-stacked">
        <li class="${(index==0)?string('active',' ')}">
            <a href="${basePath}/sys/user/pageList?pageSize=10&pageNo=1">
                <i class="glyphicon glyphicon-chevron-right"></i>用户列表
            </a>
        </li>

        <li class="${(index==1)?string('active',' ')}">
            <a href="${basePath}/sys/role/pageList?pageSize=10&pageNo=1">
                <i class="glyphicon glyphicon-chevron-right"></i>角色列表
            </a>
        </li>
        <#--<@shiro.hasPermission name='user:allotRole'>-->
        <li class="${(index==2)?string('active',' ')} dropdown">
            <a href="${basePath}/sys/user/role/pageList?pageSize=10&pageNo=1">
                <i class="glyphicon glyphicon-chevron-right"></i>角色分配
            </a>
        </li>
        <#--</@shiro.hasPermission>-->
        <li class="${(index==3)?string('active',' ')} dropdown">
            <a href="${basePath}/sys/permission/pageList?pageSize=10&pageNo=1">
                <i class="glyphicon glyphicon-chevron-right"></i>权限列表
            </a>
        </li>
        <#--<@shiro.hasPermission name='role:allotPermission'>-->
        <li class="${(index==4)?string('active',' ')} dropdown">
            <a href="${basePath}/sys/role/permission/pageList?pageSize=10&pageNo=1">
                <i class="glyphicon glyphicon-chevron-right"></i>权限分配
            </a>
        </li>
        <#--</@shiro.hasPermission>-->
    </ul>

</div>
<#--</@shiro.hasAnyRoles>-->
</#macro>


<#macro bus index>
<div id="one" class="col-md-2 col-xs-2">
    <ul data-spy="affix" class="nav nav-pills nav-stacked">
        <li class="${(index==0)?string('active',' ')}">
            <a href="${basePath}/bus/business/pageList?pageSize=10&pageNo=1">
                <i class="glyphicon glyphicon-chevron-right"></i>商户列表
            </a>
        </li>
        <li class="${(index==1)?string('active',' ')}">
            <a href="${basePath}/bus/project/pageList?pageSize=10&pageNo=1">
                <i class="glyphicon glyphicon-chevron-right"></i>商户项目
            </a>
        </li>
    </ul>

</div>
</#macro>

<#macro bus_menu index>
<div id="one" class="col-md-2 col-xs-2">
    <ul data-spy="affix" class="nav nav-pills nav-stacked">
        <li class="${(index==0)?string('active',' ')}">
            <a href="${basePath}/bus/business/pageList?pageSize=10&pageNo=1">
                <i class="glyphicon glyphicon-chevron-right"></i>商户列表
            </a>
        </li>
        <li class="${(index==1)?string('active',' ')}">
            <a href="${basePath}/bus/account/pageList?pageSize=10&pageNo=1&busId=${listResult.remark.busId?default('')}&busName=${listResult.remark.busName?default('')}">
                <i class="glyphicon glyphicon-chevron-right"></i>商户账号
            </a>
        </li>
        <li class="${(index==2)?string('active',' ')}">
            <a href="${basePath}/bus/config/pageList?pageSize=10&pageNo=1&busId=${listResult.remark.busId?default('')}&busName=${listResult.remark.busName?default('')}">
                <i class="glyphicon glyphicon-chevron-right"></i>配置维护
            </a>
        </li>
        <li class="${(index==3)?string('active',' ')}">
            <a href="${basePath}/bus/config/pageList?showType=info&busId=${listResult.remark.busId?default('')}&busName=${listResult.remark.busName?default('')}">
                <i class="glyphicon glyphicon-chevron-right"></i>配置查看
            </a>
        </li>
        <li class="${(index==4)?string('active',' ')}">
            <a href="${basePath}/bus/project/pageList?pageSize=10&pageNo=1">
                <i class="glyphicon glyphicon-chevron-right"></i>问题信息
            </a>
        </li>
    </ul>

</div>
</#macro>

<#macro sys_constant index>
<div id="one" class="col-md-2 col-xs-2">
    <ul data-spy="affix" class="nav nav-pills nav-stacked">
        <li class="${(index==0)?string('active',' ')}">
            <a href="${basePath}/sys/constant/pageList?pageSize=10&pageNo=1">
                <i class="glyphicon glyphicon-chevron-right"></i>常量配置
            </a>
        </li>
    </ul>

</div>
</#macro>

